package com.ningxia.water.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author hz
 * @since 2021-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(value = { "handler" })
@Accessors(chain = true)
public class TsMeterFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    private String meterId;

    /**
     * 瞬时流量
     */
    private BigDecimal instanFlow;

    /**
     * 累计流量
     */
    private BigDecimal accruedFlow;

    /**
     * 电池
     */
    private String battery;

    /**
     * 本次抄表时间
     */
    private LocalDateTime readTime;

    /**
     * 压力温度
     */
    private Double pressure;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 1：小表 2：大表
     */
    private Integer dataType;


}
